package com.test.workdemo.service;

import java.util.concurrent.ExecutionException;

public interface AsyncDemoService {
    /**
     * CompletableFuture异步执行方法以及回调处理
     */
    void completableFutureMethod();

    /**
     * 多任务组合CompletableFuture异步执行方法
     * **/
    void moreCompletableFutureMethod() throws ExecutionException, InterruptedException;

}
